package com.zy.edu.controller;

import com.zy.edu.bean.InputParam;
import com.zy.edu.service.ClassinfoService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @author: HuangHaiShui
 * @description:
 * @date: 2021/8/17 11:32
 * @version: 1.0
 */
@RestController
@RequestMapping("/student")
public class StuController {

    @Resource
    ClassinfoService classinfoService;
    /**
     * @Author: HuangHaiShui
     * @Description:获取该班级已关联的课程所有信息
     * @Date: 14:30 2021/7/29
     * @param inputParam:
     * @return: Map
     **/
    @RequestMapping("getAllCourse")
    public Map getAllCourseClassId(InputParam inputParam ) throws Exception {

        return classinfoService.getAllCourseClassId(inputParam);
    }
}
